package com.hengpeng.msls.port.client.message;

import com.hengpeng.common.persist.entity.AbstractEntity.BoolValue;
import com.hengpeng.itfinbase.persist.UserBankCard.BankType;

/**
 * <pre>
 * 银行卡管理
 * </pre>
 * @author shanguogang
 * @version 1.0, 2015-8-18
 */
public class BindingBankCardMessage extends PrivateMessage
{

	public static enum OrderType
	{
		ADD("ADD", "添加银行卡"), UPDATE("UPDATE", "修改银行卡"), DELETE("	DELETE", "删除银行卡"), BINDING("	BINDING", "绑定银行卡");

		private String text;

		private String value;

		OrderType(String value, String text)
		{
			this.value = value;
			this.text = text;
		}

		public String getText()
		{
			return text;
		}

		public String getValue()
		{
			return value;
		}

		public void setText(String text)
		{
			this.text = text;
		}

		public void setValue(String value)
		{
			this.text = value;
		}
	}

	private static final long serialVersionUID = 5517523391936066832L;

	/**
	 * 银行卡操作类型
	 */
	public OrderType orderType;

	/**
	 * 银行卡id
	 */
	public Long bankCardId;

	/**
	 * 银行卡号
	 */
	private String bankCardNo;

	/**
	 * 银行名称
	 */
	private BankType bankName;

	/**
	 * 分行名称
	 */
	private String branch;

	/**
	 * 银行城市
	 */
	private String city;

	/**
	 * 是否绑定
	 */
	private BoolValue isPriority;

	/**
	 * 银行省份
	 */
	private String province;

	/**
	 * 真实姓名
	 */
	private String realName;

	/**
	 * 支行名称
	 */
	private String subbranch;
	
	/**
	 * 手机号码
	 */
	private String mobile;
	
	

	public Long getBankCardId()
	{
		return bankCardId;
	}

	public void setBankCardId(Long bankCardId)
	{
		this.bankCardId = bankCardId;
	}

	public String getBankCardNo()
	{
		return bankCardNo;
	}

	public void setBankCardNo(String bankCardNo)
	{
		this.bankCardNo = bankCardNo;
	}

	public BankType getBankName()
	{
		return bankName;
	}

	public void setBankName(BankType bankName)
	{
		this.bankName = bankName;
	}

	public String getBranch()
	{
		return branch;
	}

	public void setBranch(String branch)
	{
		this.branch = branch;
	}

	public String getCity()
	{
		return city;
	}

	public void setCity(String city)
	{
		this.city = city;
	}

	public BoolValue getIsPriority()
	{
		return isPriority;
	}

	public void setIsPriority(BoolValue isPriority)
	{
		this.isPriority = isPriority;
	}

	public String getProvince()
	{
		return province;
	}

	public void setProvince(String province)
	{
		this.province = province;
	}

	public String getRealName()
	{
		return realName;
	}

	public void setRealName(String realName)
	{
		this.realName = realName;
	}

	public String getSubbranch()
	{
		return subbranch;
	}

	public void setSubbranch(String subbranch)
	{
		this.subbranch = subbranch;
	}

	public OrderType getOrderType()
	{
		return orderType;
	}

	public void setOrderType(OrderType orderType)
	{
		this.orderType = orderType;
	}

	public String getMobile()
	{
		return mobile;
	}

	public void setMobile(String mobile)
	{
		this.mobile = mobile;
	}

}
